﻿using System;
using System.ComponentModel;
using System.Windows.Forms;
using Progress;

namespace WinProgressController
{
    internal sealed partial class ProgressController : Form
    {
        private ProgressModel model;

        public ProgressController (ProgressModel progressModel)
        {
            InitializeComponent();
            model = progressModel;
        }

        private void ProgressController_Load (object sender, EventArgs e)
        {
            progressBar.Minimum = 0;
            progressBar.Maximum = 100;
        }

        private void ProgressControllerCancel_Click (object sender, EventArgs e)
        {
            DialogResult = DialogResult.Cancel;
        }
    }
}
